/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}


.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

.logo img {
    max-width: 240px;
    padding: 10px;
}

main {
    flex: 1;
    padding: 20px 0px 20px 0px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.document-selection {
    text-align: center;
}

.document-selection h2 {
    font-size: 35px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;

}


h2 {
    display: block;
    color: #0A2640;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

.document-selection p {
    margin-bottom: 20px;
}

.document-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.option {
    background-color: #0a2640;
    color: #fff;
    padding: 20px;
    width: 315px;
    height: 210px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.option:hover {
    background-color: #0d4f8b;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.option h3, .option p {
    margin: 0;
    font-size: 1.3em;
}

.option i {
    margin-top: 10px;
}

.approval {
    display: block;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.approval img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.testimonials {
    background-color: #0a2640;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    height: 400px; /* Ajuste a altura conforme necessário */
}

.testimonial-container {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
}

.testimonial {
    background-color: #1a3855;
    padding: 20px;
    margin: 3px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    width: 30%; /* Garante que a div ocupe toda a largura disponível */
    flex-shrink: 0;
    transition: opacity 0.27s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-height: 250px;
}

.testimonial img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-bottom: 10px;
}

.testimonial p {
    padding: 20px; /* Ajuste o padding conforme necessário */
    margin: 0;
    text-align: center;
    white-space: normal; /* Permite que o texto quebre a linha conforme necessário */
    width: 100%; /* Garante que o parágrafo ocupe toda a largura disponível */
}

.faq {
    margin: 40px 0;
}

.faq h2 {
    text-align: center;
    color: #0A2640;
}

.faq-item {
    background-color: #0a2640;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    border-radius: 10px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 10px;
    position: relative;
}

.faq-item h3 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
    padding-right: 30px;
}

.faq-item i {
    color: #ffffff;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active i {
    transform: rotate(180deg);
}

.faq-item p {
    margin: 10px 0 0;
    font-size: 16px;
    display: none;
    color: #ffffff;
}

.faq-item.active p {
    display: block;
    margin-top: 20px;
}

footer {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: #ffffff;
    color: #0A2640;
    padding: 20px 0;
    border-top: 10px solid #f4f4f4;
}

.footerH3 {
    color: #0A2640;
    font-size: 1em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 165px;
}

.footer-links,
.footer-contact,
.footer-text {
    margin-bottom: 20px;
}

.footer-links a,
.footer-contact p,
.footer-warn p,
.footer-copy p {
    color: #0A2640;
    margin: 5px 0;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-warn,
.footer-copy {
    font-size: 80%;
}


/* Responsividade */

/* Ajustes para dispositivos com largura máxima de 768px */
@media (max-width: 768px) {
    header {
        padding: 15px;
    }

    .logo img {
        max-width: 220px;
    }

    main {
        padding: 15px 0px 15px 0px;
        margin-top: 15px;
    }

    .document-selection h2 {
        font-size: 28px;
    }

    .document-options {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .option {
        width: 48%; /* Ajuste da largura para se encaixar lado a lado */
        height: auto; /* Ajuste para altura automática */
        padding: 20px;
    }

    .approval {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .approval img {
        margin-bottom: 10px;
    }

    .testimonial-container {
        height: 100%;
    }

    .testimonial {
        width: 80%;
        margin: 0 auto;
    }

    .testimonial img {
        width: 50px; /* Ajuste do tamanho da imagem do cliente */
        height: 50px; /* Ajuste do tamanho da imagem do cliente */
        border-radius: 50%;
        margin-bottom: 10px;
    }


    /* Estilos para a tela de confirmação */
    .confirmation-message p {
        font-size: 14px;
    }

    .confirmation-message ul {
        padding-left: 20px;
    }

    .confirmation-message li {
        font-size: 14px;
    }

    #finalizar-button {
        width: 100%;
    }
}

/* Ajustes para dispositivos com largura máxima de 480px */
@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .logo img {
        max-width: 200px;
        padding: 10px;
    }

    main {
        padding: 10px 0px 10px 0px;
        margin-top: 10px;
    }

    .document-selection h2 {
        font-size: 24px;
    }

    .document-selection p {
        font-size: 14px;
    }

    .document-options {
        flex-direction: row; /* Manter os botões lado a lado */
        justify-content: center;
        gap: 10px;
    }

    .option {
        width: 65%; /* Ajuste da largura para se encaixar lado a lado */
        height: 80px; /* Ajuste para altura maior */
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .option h3{
        padding: 5px;
        font-size: 1em;
    }

    .option p{
        font-size: 0.8em;
        padding-bottom: 12px;
    }

    .approval {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .approval img {
        margin-bottom: 0;
    }

    .testimonial-container {
        height: 100%;
    }

    .testimonial {
        width: 80%;
        margin: 0 auto;
    }

    .testimonial img {
        width: 40px; /* Ajuste do tamanho da imagem do cliente */
        height: 40px; /* Ajuste do tamanho da imagem do cliente */
        border-radius: 50%;
        margin-bottom: 10px;
    }
    .footer-logo img {
        max-width: 165px;
    }

    /* Estilos para a tela de confirmação */
    .confirmation-message p {
        font-size: 12px;
    }

    .confirmation-message ul {
        padding-left: 20px;
    }

    .confirmation-message li {
        font-size: 12px;
    }

    #finalizar-button {
        width: 100%;
    }
}